1 .click l getsize x1 int l 0 0.5 y1 int l 1 0.75 y2 int l 1 0.25 滑动操作while true: driver.swipe x1 y1 x1 y2 time.sleep 0.5 复制代码注意点:1.xpath 通过uiautomatorviewer 点击查看2.python 在运行过程中如果进行uiautomatorviewer
加载会报错3.python 在使用的过程中需要先引入from appium import webdriver from selenium.webdriver.support.ui import webdriverwait 4. 前提是启动的appium :提示:the server is running 5. 里面
有几个需要注意的套路:appium 服务的